package com.lp.zyll;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@SpringBootApplication
@MapperScan("com.lp.zyll.mapper")
public class ZyllApplication {

    public static void main(String[] args) {
        SpringApplication.run(ZyllApplication.class, args);
    }
    /***
     * TODO 服务启动成功主页展示
     * @Author:lipeng
     * @Date:2021/9/4 2:47
     * @param:
     * @return:java.lang.String
     */
    @GetMapping("/")
    public String index() {
        return "Backend service started successfully";
    }

}
